home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global edMovie, edmus, reallyQuit
- set HitSprite to the clickOn
- set wait to 2000
- puppetSprite(HitSprite, 1)
- repeat with i = 1 to 6
- repeat with c = 1 to wait
- end repeat
- set the castNum of sprite HitSprite to the number of cast ("edmark " & i)
- updateStage()
- end repeat
- repeat with i = 6 down to 1
- repeat with c = 1 to wait
- end repeat
- set the castNum of sprite HitSprite to the number of cast ("edmark " & i)
- updateStage()
- end repeat
- puppetSprite(HitSprite, 0)
- set reallyQuit to 0
- unLoadCast()
- set the timeoutScript to EMPTY
- sound stop 1
- sound stop 2
- sound playFile 1, edmus
- play movie edMovie
- end
-